﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ST.Buz.Base.Entity
{
	/// <summary>
	/// oauth登录与用户绑定
	/// </summary>
	[Serializable]
	[Table("Sys_UserOAuth")]
	public partial class Sys_UserOAuth
	{
		/// <summary>
		/// ID
		/// </summary>
		[Key]
		[Column("ID")]
		public int ID { get; set; }

		/// <summary>
		/// OAuthID
		/// </summary>
		[Column("OAuthID")]
		public int OAuthID { get; set; }

		/// <summary>
		/// 系统用户ID
		/// </summary>
		[Column("UserID")]
		public int UserID { get; set; }

		/// <summary>
		/// 是否是首选
		/// </summary>
		public bool Preferred { get; set; }

		/// <summary>
		/// 绑定时间
		/// </summary>
		[Column("AddDate")]
		public DateTime AddDate { get; set; }
	}
}
